
# Find mysql 

INCLUDE(FindPkgConfig)
FIND_PATH(
    MYSQL_INCLUDE_DIRS
    NAMES mysql.h
    PATHS /usr/include/mysql
 
    )

    

FIND_LIBRARY(
    MYSQL_LIBRARIES
    NAMES mysqlclient
    PATHS /usr/lib/x86_64-linux-gnu/
)



INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MYSQL DEFAULT_MSG MYSQL_LIBRARIES MYSQL_INCLUDE_DIRS)
MARK_AS_ADVANCED(MYSQL_LIBRARIES MYSQL_INCLUDE_DIRS MYSQL_THREADS_LIBRARIES)
